package bean.gui;

import java.io.Serializable;

import bean.gui.ClienteBean;

public class ClienteBean implements Serializable{
	 
	private static final long serialVersionUID = -2156390791805150000L;

	private String cuil;
	private String razonSocial;
	private int id;
	
	public ClienteBean(){
		//empty
	}

	public String getCuil() {
		return cuil;
	}

	public void setCuil(String cuil) {
		this.cuil = cuil;
	}
	
	public String getRazonSocial() {
		return razonSocial;
	}

	public void setRazonSocial(String razonSocial) {
		this.razonSocial = razonSocial;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + id;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ClienteBean other = (ClienteBean) obj;
		if (id != other.id)
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "ClienteBean [Cuil=" + cuil + ", Razon Social=" + razonSocial + "]";
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}
}
